﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TarreOA.TarreOAModels;

public partial class User_UserEmail_EmailIndex : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //User curLoginUser = (User)Session["user"];
        //this.TabContainer1.ActiveTab = this.TabPanel1;
        //this.hylSendInform.NavigateUrl = "SendEmail.aspx";
        //this.hylInceptInforms.NavigateUrl = "EmailInfoShow.aspx?type=incept";
        //this.hylSendInforms.NavigateUrl = "EmailInfoShow.aspx?type=send";

        User curLoginUser = (User)Session["user"];
        if (curLoginUser == null)
        {
            Session["ShowMessage"] = "用户未登录，请重新登录!";
            Session["Backurl"] = "Login.aspx";
            Response.Redirect("~/Message.aspx");
        }
    }
}
